package day18.myjunit;

import org.junit.Before;
import org.junit.Test;

/**
 * @author Xiao
 * @date 2021/8/13
 */
public class StudentTest {

    Student stu = null;

    @Before
    public void init() {
        stu = new Student();
    }

    @Test
    public void testStudy() {
        stu.study();
    }

    @Test
    public void testEat() {
        stu.eat();
    }

    @Test
    public void testSleep() {
        stu.sleep();
    }
}
